package com.yztc.yidoutang.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by My on 2016/10/18.
 */

public class QuanWuBean {

    /**
     * tag :
     * cases : [{"user_name":"─━ァΜīss〤葙倁","user_pic":"http://img.yidoutang.com/upload/user//201501/c1/201501161310adc1.gif","group_id":"145891","title":"美式?休闲？田园？地中海？现代？我全要！（90年恋爱小伙伴清包打造梦想婚房）","user_id":"18565","image":"http://img.yidoutang.com/upload/match/normal/5644458aed903.jpg!app620","style":"混搭","size":"四居室","comment_num":"460","share_num":"512","like_num":"1436","sharing_num":"51","click_num":"41811","created":"1447316616","header_image":"http://img.yidoutang.com/upload/match/normal/5644458aed903.jpg!app620"},{"user_name":"sherly","user_pic":"http://img.yidoutang.com/upload/user//201610/f9/20161011084072f9.gif","group_id":"322250","title":"猫猫的家：只为拥有一个花园梦","user_id":"161343","image":"http://img.yidoutang.com/upload/match/normal/201610/8e/20161011100509718e.jpg!app620","style":"田园风尚","size":"别墅","comment_num":"89","share_num":"18","like_num":"85","sharing_num":"13","click_num":"6403","created":"1476147035","header_image":"http://img.yidoutang.com/upload/match/normal/201610/8e/20161011100509718e.jpg!app620"},{"user_name":"阿__Fei","user_pic":"http://img.yidoutang.com/upload/user//201406/1e/201406101024231e.gif","group_id":"71893","title":"快乐晒家\u2014\u2014♡ღ♡蓝白地中海迷你婚房██小户的房大户的心██♤ ♤ ♤","user_id":"11869","image":"http://img.yidoutang.com/upload/match/normal/54a0cb411b5d2.jpg!app620","style":"地中海","size":"一居室","comment_num":"340","share_num":"30","like_num":"191","sharing_num":"92","click_num":"55989","created":"1402371938","header_image":"http://img.yidoutang.com/upload/match/normal/54a0cb411b5d2.jpg!app620"},{"user_name":"mary姜","user_pic":"http://img.yidoutang.com/upload/user//201309/ca/201309091252f8ca.gif","group_id":"8818","title":"淘宝淘出简单而自由的小家","user_id":"6903","image":"http://img.yidoutang.com/upload/match/normal/522d58a2ed7e1.jpg!app620","style":"现代简约","size":"三居室","comment_num":"134","share_num":"60","like_num":"122","sharing_num":"30","click_num":"29467","created":"1378702576","header_image":"http://img.yidoutang.com/upload/match/normal/522d58a2ed7e1.jpg!app620"},{"user_name":"奇妙能力李大卫","user_pic":"http://img.yidoutang.com/upload/user//201609/cb/201609261549d3cb.jpg","group_id":"309207","title":"装修门外汉的小小北欧梦（已更新）","user_id":"153741","image":"http://img.yidoutang.com/upload/match/normal/201609/a9/201609270903323aa9.jpg!app620","style":"北欧","size":"三居室","comment_num":"354","share_num":"86","like_num":"532","sharing_num":"49","click_num":"11736","created":"1474877665","header_image":"http://img.yidoutang.com/upload/match/normal/201609/a9/201609270903323aa9.jpg!app620"}]
     * pagination : {"record_count":1234,"page_count":247,"first":1,"last":247,"next":2,"prev":1,"current":1,"page_size":5,"page_base":1}
     */

    @SerializedName("data")
    private DataBean data;
    /**
     * data : {"tag":"","cases":[{"user_name":"─━ァΜīss〤葙倁","user_pic":"http://img.yidoutang.com/upload/user//201501/c1/201501161310adc1.gif","group_id":"145891","title":"美式?休闲？田园？地中海？现代？我全要！（90年恋爱小伙伴清包打造梦想婚房）","user_id":"18565","image":"http://img.yidoutang.com/upload/match/normal/5644458aed903.jpg!app620","style":"混搭","size":"四居室","comment_num":"460","share_num":"512","like_num":"1436","sharing_num":"51","click_num":"41811","created":"1447316616","header_image":"http://img.yidoutang.com/upload/match/normal/5644458aed903.jpg!app620"},{"user_name":"sherly","user_pic":"http://img.yidoutang.com/upload/user//201610/f9/20161011084072f9.gif","group_id":"322250","title":"猫猫的家：只为拥有一个花园梦","user_id":"161343","image":"http://img.yidoutang.com/upload/match/normal/201610/8e/20161011100509718e.jpg!app620","style":"田园风尚","size":"别墅","comment_num":"89","share_num":"18","like_num":"85","sharing_num":"13","click_num":"6403","created":"1476147035","header_image":"http://img.yidoutang.com/upload/match/normal/201610/8e/20161011100509718e.jpg!app620"},{"user_name":"阿__Fei","user_pic":"http://img.yidoutang.com/upload/user//201406/1e/201406101024231e.gif","group_id":"71893","title":"快乐晒家\u2014\u2014♡ღ♡蓝白地中海迷你婚房██小户的房大户的心██♤ ♤ ♤","user_id":"11869","image":"http://img.yidoutang.com/upload/match/normal/54a0cb411b5d2.jpg!app620","style":"地中海","size":"一居室","comment_num":"340","share_num":"30","like_num":"191","sharing_num":"92","click_num":"55989","created":"1402371938","header_image":"http://img.yidoutang.com/upload/match/normal/54a0cb411b5d2.jpg!app620"},{"user_name":"mary姜","user_pic":"http://img.yidoutang.com/upload/user//201309/ca/201309091252f8ca.gif","group_id":"8818","title":"淘宝淘出简单而自由的小家","user_id":"6903","image":"http://img.yidoutang.com/upload/match/normal/522d58a2ed7e1.jpg!app620","style":"现代简约","size":"三居室","comment_num":"134","share_num":"60","like_num":"122","sharing_num":"30","click_num":"29467","created":"1378702576","header_image":"http://img.yidoutang.com/upload/match/normal/522d58a2ed7e1.jpg!app620"},{"user_name":"奇妙能力李大卫","user_pic":"http://img.yidoutang.com/upload/user//201609/cb/201609261549d3cb.jpg","group_id":"309207","title":"装修门外汉的小小北欧梦（已更新）","user_id":"153741","image":"http://img.yidoutang.com/upload/match/normal/201609/a9/201609270903323aa9.jpg!app620","style":"北欧","size":"三居室","comment_num":"354","share_num":"86","like_num":"532","sharing_num":"49","click_num":"11736","created":"1474877665","header_image":"http://img.yidoutang.com/upload/match/normal/201609/a9/201609270903323aa9.jpg!app620"}],"pagination":{"record_count":1234,"page_count":247,"first":1,"last":247,"next":2,"prev":1,"current":1,"page_size":5,"page_base":1}}
     * error : false
     * message : success
     */

    @SerializedName("error")
    private boolean error;
    @SerializedName("message")
    private String message;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        @SerializedName("tag")
        private String tag;
        /**
         * record_count : 1234
         * page_count : 247
         * first : 1
         * last : 247
         * next : 2
         * prev : 1
         * current : 1
         * page_size : 5
         * page_base : 1
         */

        @SerializedName("pagination")
        private PaginationBean pagination;
        /**
         * user_name : ─━ァΜīss〤葙倁
         * user_pic : http://img.yidoutang.com/upload/user//201501/c1/201501161310adc1.gif
         * group_id : 145891
         * title : 美式?休闲？田园？地中海？现代？我全要！（90年恋爱小伙伴清包打造梦想婚房）
         * user_id : 18565
         * image : http://img.yidoutang.com/upload/match/normal/5644458aed903.jpg!app620
         * style : 混搭
         * size : 四居室
         * comment_num : 460
         * share_num : 512
         * like_num : 1436
         * sharing_num : 51
         * click_num : 41811
         * created : 1447316616
         * header_image : http://img.yidoutang.com/upload/match/normal/5644458aed903.jpg!app620
         */

        @SerializedName("cases")
        private List<QuanWuListBean> cases;

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public PaginationBean getPagination() {
            return pagination;
        }

        public void setPagination(PaginationBean pagination) {
            this.pagination = pagination;
        }

        public List<QuanWuListBean> getCases() {
            return cases;
        }

        public void setCases(List<QuanWuListBean> cases) {
            this.cases = cases;
        }

        public static class PaginationBean {
            @SerializedName("record_count")
            private int recordCount;
            @SerializedName("page_count")
            private int pageCount;
            @SerializedName("first")
            private int first;
            @SerializedName("last")
            private int last;
            @SerializedName("next")
            private int next;
            @SerializedName("prev")
            private int prev;
            @SerializedName("current")
            private int current;
            @SerializedName("page_size")
            private int pageSize;
            @SerializedName("page_base")
            private int pageBase;

            public int getRecordCount() {
                return recordCount;
            }

            public void setRecordCount(int recordCount) {
                this.recordCount = recordCount;
            }

            public int getPageCount() {
                return pageCount;
            }

            public void setPageCount(int pageCount) {
                this.pageCount = pageCount;
            }

            public int getFirst() {
                return first;
            }

            public void setFirst(int first) {
                this.first = first;
            }

            public int getLast() {
                return last;
            }

            public void setLast(int last) {
                this.last = last;
            }

            public int getNext() {
                return next;
            }

            public void setNext(int next) {
                this.next = next;
            }

            public int getPrev() {
                return prev;
            }

            public void setPrev(int prev) {
                this.prev = prev;
            }

            public int getCurrent() {
                return current;
            }

            public void setCurrent(int current) {
                this.current = current;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getPageBase() {
                return pageBase;
            }

            public void setPageBase(int pageBase) {
                this.pageBase = pageBase;
            }
        }


    }
}
